package com.qf.java2102.qihaonan.hotel.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 餐车项
 *      烤乳猪     68.0     2    136.0
 * @author qhn
 * @version 1.0
 */
public class CartItem implements Serializable {

    private Long foodId;
    private Integer num;
    private Date updateTime;
    private BigDecimal totalPrice;
    private String foodName;
    private BigDecimal price;

    public CartItem() {
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getFoodId() {
        return foodId;
    }

    public void setFoodId(Long foodId) {
        this.foodId = foodId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "CartItem{" +
                "foodId=" + foodId +
                ", num=" + num +
                ", updateTime=" + updateTime +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
